package _2025_4_2;

import java.util.concurrent.locks.ReentrantLock;

public class _2025_4_2 {
    public static void main(String[] args) {
        ReentrantLock lock=new ReentrantLock();
        //加锁
        lock.lock();
        //释放锁
        lock.unlock();

    }
}
